Skip to content

Conversation

@0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Oct 10, 2024

Some chains like BNB Testnet do not support this


PR-Codex overview

This PR modifies the ThirdwebTransaction.cs file to change the way the eth_estimateGas method is called, removing the "latest" parameter. This adjustment may impact how gas estimation is performed in the transaction processing.

Detailed summary

  • Removed the "latest" parameter from the rpc.SendRequestAsync<string>("eth_estimateGas", transaction.Input) call.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Some chains like BNB Testnet do not support this
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.49%. Comparing base (75c6f5a) to head (4b056a0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
- Coverage   78.58%   78.49%   -0.10%     
==========================================
  Files          28       28              
  Lines        4324     4324              
  Branches      603      603              
==========================================
- Hits         3398     3394       -4     
- Misses        766      769       +3     
- Partials      160      161       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@0xFirekeeper 0xFirekeeper merged commit 9cf2d56 into main Oct 10, 2024
1 check passed
@0xFirekeeper 0xFirekeeper deleted the firekeeper/blocktag-estimate branch October 10, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants